from django.conf.urls import url, include
from app01 import views


app_name = 'app01'

urlpatterns = [
    url(r'^func/', views.func, name='func_view'),

    url(r'^ab_ajax/', views.ab_ajax),
    # url(r'^ab_dk/', views.ab_dk),
    # 图书管理系统首页
    url(r'^home/', views.bms_home, name='app01_home_view'),
    # 图书管理系统书籍展示页
    url(r'^book_list/', views.bms_book_list, name='app01_book_list_view'),
    # 图书管理系统书籍添加页
    url(r'^book_add/', views.bms_book_add, name='app01_book_add_view'),
    # 图书管理系统书籍编辑页
    url(r'^book_edit/(?P<edit_id>\d+)/', views.bms_book_edit, name='app01_book_edit_view'),
    # 图书管理系统书籍删除页
    url(r'^book_delete/(?P<delete_id>\d+)/', views.bms_book_delete, name='app01_book_delete_view')
]

